/*
 * @Date: 2023-03-18 09:19:10
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-24 15:06:40
 * @FilePath: \A19\backend\src\shared\protocols\talks\PtlGetTalks.ts
 */
import { BaseRequest, BaseResponse, BaseConf } from "../base";
import { ObjectId } from 'mongodb';
import { talks } from '../../types/talks';

export interface ReqGetTalks extends BaseRequest {
    type:'personal' | 'public',
    course?:ObjectId
}

export interface ResGetTalks extends BaseResponse {
    talks:talks[]
}

export const conf: BaseConf = {
    needLogin: true
}